Extract odd and even numbers form an array

visit shbcf.ru